Fixed bug with ICS