some minor fix