custom: fixed invalid argument