fixed bug when stimolo contains a media file