Problems with sending form 'error on query'