fixed issue where indent was being set to "null"