fixed subtle bug