bug $(this) fixed