Fixed reference UI

Fixed runnable code bug