fixed bug for browsers without flash