fix no-arg detection