minor small fixes