Fix classname matching in view