adding bug fixed