Fix stupid errors in utils