fix offset from top