fixed a minor but in a trivial method