bug fix
made a drastic change