use proper bind attr for field name detection