fixed giraffe.js