Removing wrong assingment