if slug empty check request params