remove UPLDIR constant