Corrected real page number
Improved validation error message
Added string constrain