normalize handles