error doctrine problem cannot read entity and minor form fix