fixing bugs in fluid.js
lots of stuff man