Cleaning up a weird correct error in the function files