fixing infilter vector orienttaion bug