Fixed crash with getting flow rate