fkdbaseline.lua
some bug fixes