do not use complex sql
fixed error messages
check if empty string or number
upgrade version