fixed bug w/ limit being ignored