fixing relation field in various places
fixing datagrid cursor bug
fixing macem-macem