refix code

class bg n script.min.