fixed some string interpretation bugs