fixes some minor issue