solved problem wich showed curriculum with worng size in firefox