fixings minor errors