ADded formal decleration of resources hash with fix