fix routine signature