change limit call to affect property in beforeQuery method