added proper constraints for review page