tab/spaces cleanup in sample code