fixing atlas build problem