callback better form query object check