change scope wifi_payload from instance to static
fix profile instance variable using and Array.new using