fixing return value of compile-string