fix bugs
fix js bug