should have fixed compability between single and limit flags but didn't test it