fixed script caling issure