fix preview update, minor css