fixing a build error due to wrong Status