adding error flag for park