solved bug fined duing testing by shraddha