Fixed warnind and maps dir path