fix at_user null pointer issue