bug fix
deleted unnecessary code