fix for orientation call