fixed tar to dir