Fix lag, because of an database connection