fixed real attribute set :true when date is invalid