fix some tabbing / spacing / syntax