Trim with spaces
Fix bug when try to use primary_key class instead relation primary_key