Fixed errors caused by CSS changes