fixes for utils