trainer deletion issue fixed.