Fixed log statments