fixed minor issue causing a dev warning