fixing return value of compile-file