fix for value drawing