fixed routing to controllers