fix relate path separator and initialize error

aac72d981b037757d966cc533b23e0d82281e102