Error: Dividing by zero causes universe implosion

Fixed silly division issue, and damn that api.lua file is getting
annoying..