fixing video play bug