small bit of cleanup of redundant code