nit fixes

changes based on julian's script