fix some scripts
fix