Bug: Minified code not functioning properly