bugfix js admin panel