Bug fixes for the sheet sent by Nitin