added pretty print library for debug
solved bug - UI attach