fix maxbounds