changed source type to dir #291