Fixes variable name in rectangle