fix for case when mysql uses things from mysql