adjusted enable using color images