sidebar styling and promise error resolution