misc bugfixes
minor