Fixed minor errors in branch