fix major bug barra/resize/event