build for multidir fix