bug fixes and updates to validate requests