fixed wrongly inserted bounds