Fixed user defined dangerous functions