warning bug fixed in case directive added
bug fixed