removed debug loggs