fix top offset