fixed profile routing issues