Fix category filestorage bug