fix a bug searching application dir
output atlas