Fix fish build
Fix a memory error in fish.advance: out-of-bounds index on array start
Fix a bug in the parsing scripts, setting double to int