Fixed plot filename issue