Fixed the Error in redHomog