updated some UI elements to make it work with django