fixed all inputs going down at the end of the memory block