[PATCH 0/3] fix some coding issues