Fix for issue #308

The notice error is thrown by the line 205 which does nothing anyway. Simply removing the line is solving the issue and as far as I can tell not breaking anything else.