fix getStateParamValue method to automatically capitalize the state input for Controller parsing