fixes for culling
merged