remove dependency to pretty class