remove agent check, not needed