fix to compile from atom