Valid bounds fix