getslug run on the client fixed