fix warnings and update autoplayer