Fixed type lookup in utils