improved color handling
fixed invisible right side
ignoring id 0
javadoc