Fixing a function
Clean