blog about the wrong dir function
improved article