Added error control and Handlebar parameter style