Add prettify not working completely