Fixed bugs

This commit fixes bugs that prevented utp to be loaded.