fix for forwarding to trainer page