AimOffset and Direction issues

Using this link I created AimOffset everything works perfectly but while moving and shooting everything is awkward its aiming in one direction and shooting in another direction