initializing the limit fields with correct values if the limit parameters are set