fix bug for block nolocale in class media