fix so it fits inside dimensions