first stuff
various small fixes