resolving format issues