       else
         uid = res.trim()
         log.info "[OK] user ID for user #{username} is #{uid}"
-        ftpfsopts = "#{config.ftpfs.opts},uid=#{uid},gid=#{uid},fsname=#{remotehost},user=#{remoteuser}:#{remotepass}" 
+        ftpfsopts = "#{config.ftpfs.opts},uid=#{uid},gid=#{uid},fsname=#{remotehost},user=#{remoteuser}:#{remotepass}"
         @createMountpoint options, (err,res)=>
           if err
             callback err

                    callback err
                  else
                    @updateMountCfg options,(err,res)->
                    callback null,res 

  checkMountpoint : (options, callback)->
    #
    # this method checks if remount host mounted (it doesn't check for availability)
    #
    #
    
    #
    # return =
    #   mounted: Bool # true/false
    #   remotehost: String # remote FTP/SFTP hostname
    #   mountpoint: Strint # full path to the mountpoint


    {username, remotehost} = options


          mounted: true
          remotehost: remotehost
          mountpoint: options.mountpoint
        callback null, res
      else
        console.log error = "[ERROR] mountpoing #{options.mountpoint} is not mounted"
        res =
          mounted: false
          remotehost: remotehost
          mountpoint: options.mountpoint
        callback null, res

  # Safe
  umountDrive : (options, callback)->
