changed if directory