fix for iphone layout bug