removing potential cause for deadlock due to stupid mysql semantics