bug fix in states
Merge pull request #129 from Codes-With-Eagles-SWE2014/ecgprc_final_sprint

bug fix in states