bug fix filename missing directory for real this time