add error and maintenance view