m relationship bug fixed