fixing issues with creating stan lang