optimize artistf, detect invalid form data