render code type && image fix