Added error of resolution parameter