fixed x-overflow