refactored translate paths
fixed search paths