Fixes limit bug