fixed bug with : not being replaced correctly
added prettier output