manipulation.js fix