code project formatter workaround

added workaround suggested by @Nelek for formatters