changed some constraints about zoom