add numeric validation for width & height