fixing filename error