Clean unnecessary code ( correct ?)

Pull if is correct 
now it's compiling correctly