fix cull bugs