Fixed strange jquery issue