fixed tiny pieces of code