wrong style appender function fixed