drawing layout fix