bug fix filename missing directory