Bug fixes 1.06

Fixed some bugs in plugins