adding error views