Removed double occurence of function debug