E1S6: fixed keyloc substitution