#19 Fix to plugin public controller to prevent error