small renamings of two static functions