tested and fixed some fov functions