Fixing broken sticky() function