Added checking range for icon