fixed validation errors
date validation