fixed an imageplayer bug