fixed small script bugs