tiny code refact.