Removed code causing exception

Still working on plugin