bug fixes in harbour