fixing relative path for thumbnail