fixed 4d vector bug