fixed bounds issues