fixed super obvious bug