fixed bug with single picture playing