Well here are some tips:
1) Try going at least 3-5 chunks away from said mob farm and come back
2) Make sure that there's some water-less space for said mobs to spawn
3) Don't use slabs, they let in a bit of light and prevent mobs from spawning on them