improve belongs_to error message

now it won't throw a huge, useless error message

closes #1367