fixed nil peripheral name error